const {APPPORT} = require('./config');
const fn = require('./controllers');
const Koa = require('koa');
const app = new Koa();

fn(app);


app.listen(APPPORT,()=>{
    console.log(`server running at http://localhost:${APPPORT}`);
})
